FROM golang:1.18-alpine as build

COPY ./main.go ./main.go
RUN go build -o /main
EXPOSE 8080
ENTRYPOINT ["/main"]